/**
 * @(#)ParameterException.java 2011-12-20 Copyright 2011 it.kedacom.com, Inc.
 *                             All rights reserved.
 */

package cn.xtuali.onlineide.exception;

import org.apache.log4j.Logger;

public class ParameterException extends RuntimeException {
	private static Logger logger = Logger.getLogger(ParameterException.class);
	/** serialVersionUID */
	private static final long serialVersionUID = 6417641452178955756L;

	public ParameterException() {
		super();
	}

	public ParameterException(String message) {
		super(message);
		logger.error(message);
	}

	public ParameterException(Throwable cause) {
		super(cause);
		logger.error(cause);
	}

	public ParameterException(String message, Throwable cause) {
		super(message, cause);
		logger.error(message);
		logger.error(cause);
		
	}
}
